/**
XenSim simulates xenbal.
Copyright (C) 2006 Travis Vachon

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
**/
package xensim;
import java.util.Hashtable;
import java.util.Vector;

public class Toy {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Hashtable test = new Hashtable();
		Vector<Node> nodes = new Vector<Node>();
		SimGlobals globals = new SimGlobals(nodes);
		
		Domain domain1 = new Domain(globals, "dom1", 800 * SimGlobals.MB,
				new ConstRateFn(0.005), new TwoGhzConstFn(0.9),
				new ConstNetworkFn(10 * SimGlobals.Kb));
		Domain domain2 = new Domain(globals, "dom2", 800 * SimGlobals.MB,
				new ConstRateFn(0.005), new TwoGhzConstFn(0.9),
				new ConstNetworkFn(10 * SimGlobals.Kb));
		String test1 = "test1";
		String test2 = "test2";
		System.out.println(domain1.hashCode());
		System.out.println(domain2.hashCode());
		//test.put(domain1, "test1");
		//test.put(domain2, "test2");
	
	}

}
